package com.example.droideep.fragment;


import android.os.Bundle;
import android.view.View;

import com.example.droideep.R;
import com.example.droideep.common.activities.SimpleFragmentBase;
import com.wefika.calendar.CollapseCalendarView;

import org.joda.time.LocalDate;

public class CollapseCalendarViewFragment extends SimpleFragmentBase {


    @Override
    public void onViewCreated(View view, Bundle savedInstanceState) {
        super.onViewCreated(view, savedInstanceState);
        CollapseCalendarView calendarView = (CollapseCalendarView) view.findViewById(R.id.calendar);
        calendarView.init(LocalDate.now(), LocalDate.now(), LocalDate.now().plusYears(1));
    }

    @Override
    protected int getContentResId() {
        return R.layout.fragment_collapse_calendar_view;
    }
}
